<#assign type = (item.type) ! 'Video'>
<#if type != 'Episode'>
	<#assign title = item.title>
	<#assign thumbnail = item.thumbnail>
	<#if item.website == 'Vevo'>
		<#assign thumbnail = thumbnail + "?width=133&height=100&crop=auto">
	</#if>
	
	<#if item.website = 'YouTube'>
		<#assign url = contextPath + "/featured/youtube/" + item.id>	
		<#assign playUrl = contextPath + "/featured/youtube/watch-" + item.id>	
		<#assign imgWidth = "120">	
	<#elseif type = 'Movie'>
		<#assign url = contextPath + "/movie/full-length/" + item.id>
		<#assign playUrl = contextPath + "/movie/full-length/watch-" + item.id>
		<#assign imgWidth = "145">	
	<#elseif type = 'Trailer'>
		<#assign url = contextPath + "/movie/trailer/" + item.id>
		<#assign playUrl = contextPath + "/movie/trailer/watch-" + item.id>
		<#assign imgWidth = "125">	
	<#elseif type = 'Music'>
		<#assign url = contextPath + "/music/video/" + item.id>
		<#assign playUrl = contextPath + "/music/video/watch-" + item.id>
		<#assign imgWidth = "133">	
	<#elseif type = 'Show'>
		<#assign url = contextPath + "/tv/full-length/" + item.id>	
		<#assign playUrl = contextPath + "/tv/full-length/" + item.id>	
		<#assign imgWidth = "120">	
	</#if>	
	<div class="m_box mi_box search-box">
		<div class="img">
			<a target="_blank" href="${url}"><img style="width:${imgWidth}px; height:90px;" src="${thumbnail}" border="0" title="${title}" /></a>
			<div class="tc_btn" style="width:${imgWidth}px; height:90px;display:none">
                <a href="${playUrl}" class="pbox" target="_blank"><span class="btn_play4_2 pbox_m2">Play</span></a>
                <div class="tc_m">
                <span class="vbox"><a href="${url}" class="btn_view4" target="_blank">View</a></span>
                <span class="dbox"><a href="javascript:;" itemUrl=${item.itemUrl!''}" website="${item.website!''}"  class="btn_down4 download_btn" itemTitle="${title}">Download</a></span>
                </div>
                <div class="i_zz"></div>
            </div>
		</div>
		<ul>
	    	<li class="name"><a target="_blank" href="${url}" title="${title}"><#if title?length &gt; 35>${title?substring(0,34)}...<#else>${title}</#if></a></li>    
	    	<#if item.duration??>        
	        <li class="m_time">${type}: <@formatSeconds (item.duration!0) /></li>
	        </#if>
	    </ul>
	</div>
</#if>